package com.c.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.c.entity.Setmeal;
import com.c.entity.User;
import com.c.utils.PageResult;
import com.c.utils.QueryPageBean;
import com.c.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * @author wangxiangli
 * @create 2022-12-25-12:28
 */
public interface SetmealService extends IService<Setmeal> {

    //分页查询体检套餐
    PageResult pageQuery(QueryPageBean queryPageBean);
    //新增套餐
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    //根据套餐ID获取关联的检查组ID
    List<Integer> findCheckItemIdsBySetmealId(Integer id);
    //编辑套餐
    void edit(Setmeal setmeal, Integer[] checkgroupIds);
    //删除套餐
    Result deleteById(Integer id);
    //统计预约套餐的数量
    List<Map<String, Object>> findSetmealCount();
}
